﻿<%@ Page Language="C#" MasterPageFile="~/Admin/Admin.Master" AutoEventWireup="true" CodeBehind="UploadConfig.aspx.cs" Inherits="Cn.Cellula.Website.Admin.Site.UploadConfig" Title="文件上传设置" %>
<%@ Register src="Wuc_ConfigTip.ascx" tagname="Wuc_ConfigTip" tagprefix="uc1" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="CPH_PageTitle" runat="server">
文件上传设置
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="CPH_MainBody" runat="server">
    <uc1:Wuc_ConfigTip ID="Wuc_ConfigTip1" runat="server" />
    <div class="action_bar">
        <asp:Button ID="btn_save" runat="server" Text="保存" OnClick="btn_save_Click" />
        <input type="reset" value="重置" />
    </div>
    <fieldset>
        <legend>配置项</legend>
        <table border="0" cellpadding="0" cellspacing="0" class="edit_form">
            <tr>
                <td class="edit_form_item_title" width="120px">
                    <span class="required">上传文件路径：</span>
                </td>
                <td class="edit_form_item_content">
                    <asp:TextBox runat="server" ID="txt_UploadPath" Width="500px"></asp:TextBox>
                </td>
                <td class="edit_form_desc">相对于网站根路径，请以"/"结尾</td>
            </tr>
            <tr>
                <td class="edit_form_item_title">
                    <span class="required">上传文件URL：</span>
                </td>
                <td class="edit_form_item_content">
                    <asp:TextBox runat="server" ID="txt_UploadUrl" Width="500px"></asp:TextBox>
                </td>
                <td class="edit_form_desc">相对于网站根路径，请以"/"结尾</td>
            </tr>
            <tr>
                <td class="edit_form_item_title">
                    <span class="required">文件类型Pattern：</span>
                </td>
                <td class="edit_form_item_content">
                    <asp:TextBox runat="server" ID="txt_UploadFilePattern" Width="500px"></asp:TextBox>
                </td>
                <td class="edit_form_desc">格式：.xxx|.yyy|.zzz</td>
            </tr>
            <tr>
                <td class="edit_form_item_title">
                    <span class="required">图片类型Pattern：</span>
                </td>
                <td class="edit_form_item_content">
                    <asp:TextBox runat="server" ID="txt_UploadImagePattern" Width="500px"></asp:TextBox>
                </td>
                <td class="edit_form_desc">格式：.xxx|.yyy|.zzz</td>
            </tr>
            <tr>
                <td class="edit_form_item_title">
                    <span class="required">文件类型过滤：</span>
                </td>
                <td class="edit_form_item_content">
                    <asp:TextBox runat="server" ID="txt_UploadFileFilter" Width="500px"></asp:TextBox>
                </td>
            </tr>
        </table>
    </fieldset>
    <fieldset>
        <legend>缩略图尺寸</legend>
        <table border="0" cellpadding="0" cellspacing="0" class="edit_form">
            <tr>
                <td class="edit_form_item_title" width="120px">
                    <span class="required">缩略图最大宽：</span>
                </td>
                <td class="edit_form_item_content">
                    <asp:TextBox runat="server" ID="txt_ThumbnailMaxWidth" Width="50px"></asp:TextBox>像素
                </td>
            </tr>
            <tr>
                <td class="edit_form_item_title">
                    <span class="required">缩略图最大高：</span>
                </td>
                <td class="edit_form_item_content">
                    <asp:TextBox runat="server" ID="txt_ThumbnailMaxHeight" Width="50px"></asp:TextBox>像素
                </td>
            </tr>
        </table>
    </fieldset>
</asp:Content>
